[INFO] fetching crate waterbear 0.12.0...
[INFO] checking waterbear-0.12.0 against try#b946edaa85de45f124065f52b1bc55ba2fb4f9fb for pr-157562
[INFO] extracting crate waterbear 0.12.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate waterbear 0.12.0
[INFO] finished tweaking crates.io crate waterbear 0.12.0
[INFO] tweaked toml for crates.io crate waterbear 0.12.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate waterbear 0.12.0 on toolchain b946edaa85de45f124065f52b1bc55ba2fb4f9fb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 46 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.6.1)
[INFO] [stderr]       Adding uuid v0.7.4 (available: v1.23.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `waterbear` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388
[INFO] running `Command { std: "docker" "start" "90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `waterbear` (manifest) generated 1 warning
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling waterbear v0.12.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]     Checking unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]    Compiling waterbear-instruction-derive v0.1.0
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]     --> src/disasm.rs:1206:39
[INFO] [stdout]      |
[INFO] [stdout] 1206 |             let mut new_comment = old.trim_right().to_owned();
[INFO] [stdout]      |                                       ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]      |
[INFO] [stdout] 1206 -             let mut new_comment = old.trim_right().to_owned();
[INFO] [stdout] 1206 +             let mut new_comment = old.trim_end().to_owned();
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]     --> src/disasm.rs:1207:20
[INFO] [stdout]      |
[INFO] [stdout] 1207 |             if old.trim_right().ends_with(".") {
[INFO] [stdout]      |                    ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]      |
[INFO] [stdout] 1207 -             if old.trim_right().ends_with(".") {
[INFO] [stdout] 1207 +             if old.trim_end().ends_with(".") {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]     --> src/disasm.rs:1206:39
[INFO] [stdout]      |
[INFO] [stdout] 1206 |             let mut new_comment = old.trim_right().to_owned();
[INFO] [stdout]      |                                       ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]      |
[INFO] [stdout] 1206 -             let mut new_comment = old.trim_right().to_owned();
[INFO] [stdout] 1206 +             let mut new_comment = old.trim_end().to_owned();
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]     --> src/disasm.rs:1207:20
[INFO] [stdout]      |
[INFO] [stdout] 1207 |             if old.trim_right().ends_with(".") {
[INFO] [stdout]      |                    ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]      |
[INFO] [stdout] 1207 -             if old.trim_right().ends_with(".") {
[INFO] [stdout] 1207 +             if old.trim_end().ends_with(".") {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/disasm.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |     NoInstruction(usize, u8),
[INFO] [stdout]    |     ------------- ^^^^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 -     NoInstruction(usize, u8),
[INFO] [stdout] 12 +     NoInstruction((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/disasm.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     NoSuchFile(String, std::io::Error)
[INFO] [stdout]    |     ---------- ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 13 -     NoSuchFile(String, std::io::Error)
[INFO] [stdout] 13 +     NoSuchFile((), ())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/instruction.rs:548:23
[INFO] [stdout]     |
[INFO] [stdout] 548 |             let r16 = mem::transmute::<u16, i16>(rel as u16);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 548 -             let r16 = mem::transmute::<u16, i16>(rel as u16);
[INFO] [stdout] 548 +             let r16 = u16::cast_signed(rel as u16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/instruction.rs:556:22
[INFO] [stdout]     |
[INFO] [stdout] 556 |             let r8 = mem::transmute::<u8, i8>(rel as u8);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 556 -             let r8 = mem::transmute::<u8, i8>(rel as u8);
[INFO] [stdout] 556 +             let r8 = u8::cast_signed(rel as u8);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/parser.rs:266:42
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 new_lines.push(lines[idx].clone());
[INFO] [stdout]     |                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[Token]` does not implement `Clone`, so calling `clone` on `&[Token]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/asm.rs:196:48
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     Include(_, _, _) => panic!("There should be no .include directives left at this point".to_string()),
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     Include(_, _, _) => panic!("{}", "There should be no .include directives left at this point".to_string()),
[INFO] [stdout]     |                                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/disasm.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |     NoInstruction(usize, u8),
[INFO] [stdout]    |     ------------- ^^^^^  ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 12 -     NoInstruction(usize, u8),
[INFO] [stdout] 12 +     NoInstruction((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/disasm.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |     NoSuchFile(String, std::io::Error)
[INFO] [stdout]    |     ---------- ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DisasmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 13 -     NoSuchFile(String, std::io::Error)
[INFO] [stdout] 13 +     NoSuchFile((), ())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/instruction.rs:548:23
[INFO] [stdout]     |
[INFO] [stdout] 548 |             let r16 = mem::transmute::<u16, i16>(rel as u16);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 548 -             let r16 = mem::transmute::<u16, i16>(rel as u16);
[INFO] [stdout] 548 +             let r16 = u16::cast_signed(rel as u16);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/instruction.rs:556:22
[INFO] [stdout]     |
[INFO] [stdout] 556 |             let r8 = mem::transmute::<u8, i8>(rel as u8);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 556 -             let r8 = mem::transmute::<u8, i8>(rel as u8);
[INFO] [stdout] 556 +             let r8 = u8::cast_signed(rel as u8);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/parser.rs:266:42
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 new_lines.push(lines[idx].clone());
[INFO] [stdout]     |                                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[Token]` does not implement `Clone`, so calling `clone` on `&[Token]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/asm.rs:196:48
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     Include(_, _, _) => panic!("There should be no .include directives left at this point".to_string()),
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     Include(_, _, _) => panic!("{}", "There should be no .include directives left at this point".to_string()),
[INFO] [stdout]     |                                                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.77s
[INFO] running `Command { std: "docker" "inspect" "90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388", kill_on_drop: false }`
[INFO] [stdout] 90e97bdefd800e1da728e2bf2f9a85a274117948e87246bf32a2e42116720388
